<table align="center" width="953" border="0" cellpadding="0" cellspacing="0">
 
  <!--DWLayoutTable-->
  <tr>
    <td width="15" height="162" valign="top" ><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td width="936" valign="top"><table   width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="834" height="25">&nbsp;</td>
            <td width="102">&nbsp;</td>
          </tr>
      <tr>
        <td height="104" valign="top"><table width="100%" border="1" cellpadding="1" cellspacing="2" bordercolor="#999999">
          <!--DWLayoutTable-->
          <tr>
            <td width="458" rowspan="2" align="center" valign="middle"><strong>Texto de la Pregunta </strong></td>
                  <td height="28" colspan="3" align="center" valign="top"><strong>Opciones</strong><br />
                  (marque la cajita y presione en el boton para eliminar)</td>
                </tr>
          <tr>
            <td width="116" height="18" align="center" valign="middle"><strong>Eliminar</strong></td>
                  <td width="116" align="center" valign="middle"><strong>Editar</strong></td>
                  <td width="116" align="center" valign="middle"><strong>Mover</strong></td>
                </tr>
          
           {section name="p" loop=$data.qid}
            <form method="GET" action="{$conf.html}/edit_survey.php">
            <input type="hidden" name="mode" value="{$data.mode_edit_question}">
            <input type="hidden" name="sid" value="{$data.sid}">
          <tr>
            <td height="33" valign="middle">
			<input type="hidden" name="qid" value="{$data.qid[p]}">
			<span class="izq">
			{$data.question[p]|unescape}
			{section name="show_edep" loop=1 show=$data.show_edep[p]}
			<br />
			Dependencies:
			{section name="dep" loop=$data.edep_option[p] show=$data.edep_option[p]}
			 <div style="margin-left:5%;">
                      &bull; {$data.edep_option[p][dep]} if question {$data.edep_qnum[p][dep]}
                      is: {$data.edep_value[p][dep]}
             </div>
			{/section}
            {/section}
			</span>
			</td>
			{section name="options" loop=1 show=$data.page_break[p]}
                  <td style="text-align:center;" colspan="3">
                    <input type="hidden" name="page_break" value="1">
                    <input type="submit" name="delete_question" value="Delete">
                  </td>
                {sectionelse}
                  <td align="center" valign="middle"><input type="checkbox" name="del_qid" value="{$data.qid[p]}">
                    <input type="submit" name="delete_question" value="Eliminar"></td>
                  <td align="center" valign="middle"><input type="submit" name="edit_question" value="Editar"></td>
                  <td align="center" valign="middle"><input type="submit" name="move_up" value="&nbsp;&uarr;&nbsp;" title="mueva la pregunta hacia arriba">
                    <input type="submit" name="move_down" value="&nbsp;&darr;&nbsp;" title="mueva la pregunta hacia abajo"></td>
					 {/section}
                </tr>
				</form>
				{sectionelse}
          <tr>
		  
            <td height="15" colspan="4" valign="top">No Existe Preguntas</td>
                </tr>
          {/section}
          
          
          </table></td>
            <td>&nbsp;</td>
          </tr>
      <tr>
        <td height="30">&nbsp;</td>
            <td>&nbsp;</td>
          </tr>

    </table></td>
  </tr>
 
</table>